<#include "../include/header.html">
<#assign title="新增任务">
<#if task??>
	<#assign title="编辑任务">
</#if>
<div class="container">
    <#include "../include/left.html">
    <div class="content">
		<div class="heading clearfix"> 
			<div class="pull-left">${title!''}</div> 
   		</div> 
   		<br>
		   <form action=""  id="task_form"> 
		    <table class="table"> 
		    	<input type="hidden" id="taskId" name="id" value="${(task.id?c)!''}">
		     	<tr>
		     		<td class="tit-right" width=90><em class="red">*</em>类名</td>
		     		<td>
		     			<input class="input" maxlength="100"  type="text" name="taskClassz" value="${(task.taskClassz)!''}" <#if task??>readonly="readonly"</#if> opt="rq" info="请输入完整的类名称">	
		     		</td>
		     	</tr>
		     	<tr>
		     		<td class="tit-right"><em class="red">*</em>方法名</td>
		     		<td>
		     			<input class="input" maxlength="100"  type="text" value="${(task.taskMethod)!''}" name="taskMethod" <#if task??>readonly="readonly"</#if>  opt="rq"  info="请输入方法名">	
		     		</td>
		     	</tr>
		     	<tr>
		     		<td class="tit-right"><em class="red">*</em>调度时间</td>
		     		<td>
		     			<input class="input" maxlength="100"  type="text" value="${(task.taskTime)!''}" name="taskTime" opt="rq"  info="请输入调度时间">
		     			<a href="javascript:void(0)" id="settingTime">如何设置时间？</a>
		     		</td>
		     	</tr>
		     	<tr>
		     		<td class="tit-right">描述</td>
		     		<td>
		     			<input class="input" maxlength="150"  type="text" value="${(task.description)!''}" name="description" info="请输入描述">	
		     		</td>
		     	</tr>
		     	<tr>
		     		<td class="tit-right">是否立即执行</td>
		     		<td class="tit-left">
		     			<input type="checkbox" checked="checked" value="1" name="execution">
		     		</td>
		     	</tr>
    			<tr> 
		     		<td></td>
		     		<td><a class="btn btn-large" href="javascript:history.back(-1)">返回</a><input type="submit" value="提交" class="btn btn-color btn-large"></td>
    			</tr>
		    </table> 
		   </form> 
	</div>
</div>
<style>
<!--
.time-info-table{border-collapse: collapse;font-size: 12px;}
.time-info-table td,.time-info-table th{border: 1px solid #DDDDDD;padding: 3px 15px 3px 5px;}
.time-info-table td.colorTd{background:#F5F5F5}
-->
</style>
<script type="text/javascript">
seajs.use("settings/task.edit.js");
</script>
<#include "../include/buttom.html">
</body>
</html>